<template>
  <div>
    <div id="alipay">1</div>
    <div class="box"></div>
  </div>
</template>
<script>
export default {
  name: "common",
  mounted() {
    var html = plus.webview.currentWebview().html;

    console.log("html");
    console.log(html);
    console.log("Judge");
    console.log(window.Judge);
    if (window.Judge) {
      document.getElementById("alipay").innerHTML = html;
      document.forms["alipaysubmit"].submit();
    }
  }
};
</script>
<style>
.box {
  width: 3rem;
  height: 3rem;
  background: pink;
}
</style>
